package org.kth.dks.util;

import org.kth.dks.dks_comm.DKSRef;
import org.kth.dks.dks_node.DKSStatus;

public class NodeInfo {
    public long addrRange;
    public int kFactor;
    public int levels;
    public RTEntry [][] routingTable;
    public DKSRef [] frontList;
    public DKSRef [] backList;
    public DKSRef predecessor;
    public DKSRef successor;
    public DKSStatus status;

    public NodeInfo(long ar, int kf, int ls, DKSStatus status){
	kFactor   = kf;
	addrRange = ar;
	levels    = ls;
	routingTable = new RTEntry[levels][kFactor];
        this.status = status;
    }
}
